<div class="bjui-pageHeader">
  <form id="pagerForm" data-toggle="ajaxsearch" action="{:U()}" method="post">
    <div class="bjui-searchBar">
	  <a <php>echo display(CONTROLLER_NAME.'/add');</php> href="{:U('add')}" class="btn btn-green" data-toggle="dialog" data-width="800" data-height="400" data-id="dialog-normal" data-mask="true" data-title="{$arr.title}-编辑">添加</a>
      <div class="pull-right" <php>echo display(CONTROLLER_NAME.'/delMultiRow');</php>>
        <div class="btn-group">
          <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">复选框-批量操作<span class="caret"></span></button>
          <ul class="dropdown-menu right" role="menu">
            <li><a href="{:U('delMultiRow')}" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="delids" data-group="ids">删除选中</a></li>
          </ul>
        </div>
      </div>
    </div>
  </form>
</div>
<div class="bjui-pageContent tableContent">
  <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
    <thead>
      <tr>
	  	<th width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
        <th data-order-field="operation">商品规格预览</th>
        <th width="100">操作</th>
      </tr>
    </thead>
    <tbody>
      <notempty name="_list">
      <volist name="_list" id="vo">
        <tr data-id="{$vo.group_id}">
		  <td><input type="checkbox" name="ids" data-toggle="icheck" value="{$vo.group_id}"></td>
          <td>{$vo.spec}</td>
          <td>
		  <a  <php>echo display(CONTROLLER_NAME.'/edit');</php> href="{:U('edit?id='.$vo['group_id'])}" class="btn btn-green" data-toggle="dialog" data-width="800" data-height="400" data-id="dialog-normal" data-mask="true" data-title="编辑">编辑</a>
		  <a  <php>echo display(CONTROLLER_NAME.'/delMultiRow');</php> href="{:U('delMultiRow?delids='.$vo['group_id'])}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删</a> </td>
        </tr>
      </volist>
      <else/>
    <td colspan="9" class="text-center"> aOh! 暂时还没有商品规格! </td>
      </notempty>
      </tbody>
  </table>
</div>
<div class="bjui-pageFooter">
    <div class="pages"><span>每页&nbsp;</span>
        <div class="selectPagesize">
            <select data-toggle="selectpicker" data-toggle-change="changepagesize">
                <option value="{$pageSize}">{$pageSize}</option>
                <option value="{$pageSize*3}">{$pageSize*3}</option>
                <option value="{$pageSize*6}">{$pageSize*6}</option>
                <option value="{$pageSize*12}">{$pageSize*12}</option>
                <option value="{$pageSize*15}">{$pageSize*15}</option>
            </select>
        </div>
        <span>&nbsp;条，共 {$total} 条</span></div>
    <div class="pagination-box" data-toggle="pagination" data-total="{$total}" data-page-size="{$pageSize}"
         data-page-current="{$pageCurrent}"></div>
</div>
